package org.darkforest.dao.mapper;

import java.util.List;
import java.util.Map;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Favorites;
import org.darkforest.model.FavoritesSearchBean;
import org.darkforest.model.FavoritesVo;
@DBMapper
public interface FavoritesMapper {
    int insert(Favorites record);

    int insertSelective(Favorites record);
    
    int deleteByIds(Map p);
    
    int updateGoodsFavoritesCountByIds(Map p);
    int updateStoreFavoritesCountByIds(Map p);
    
    List<FavoritesVo> selectByGoodByMember(FavoritesSearchBean bean);


    List<Favorites> findFavoritesByCondtion(Favorites favorites);
}